package com.woniu.service;

import com.woniu.entity.SysPermission;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.util.ResponseData;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

/**
* @author mashiro
* @description 针对表【sys_permission(后台权限表)】的数据库操作Service
* @createDate 2025-02-14 11:39:31
*/
public interface SysPermissionService extends IService<SysPermission> {
    /**
     * 初始化权限,将数据库中的权限信息加载到redis中
     * @return
     */
    ResponseData<?> initPermission();

    ResponseData<?> outPermissionExcel(HttpServletResponse response) throws IOException;

    ResponseData<?> queryRoleList();
}
